//
//  TKIMRequestVo.h
//  TKIM
//
//  Created by liupm on 15/7/23.
//  Copyright (c) 2015年 liupm. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,TKIMHttpType) {
    TKIMHttpTypePOST,
    TKIMHttpTypeGET
};

typedef NS_ENUM(NSInteger,TKIMRequestType) {
    TKIMRequestTypeIM,//im请求
    TKIMRequestTypePush//推送的请求
};

@protocol TKIMNetHelperDeleagate;

@interface TKIMRequestVo : NSObject
@property(nonatomic,strong) NSString *url;//请求地址
@property(nonatomic,strong) NSMutableDictionary *param;//请求参数
@property(nonatomic,strong) NSString *flowNo;//请求流水
@property(nonatomic,assign) BOOL isCache;//是否缓存
@property(nonatomic,assign) id<TKIMNetHelperDeleagate>parseDelegate;
@property(nonatomic,assign) BOOL authSessionKey;
@property(nonatomic,assign) TKIMRequestType requestType;//请求类型,默认是TKIMRequestTypeIM
@property(nonatomic,copy) NSString *companyId;//请求公司编号
@property(nonatomic,copy) NSString *systemId;//系统编号
@property(nonatomic,copy) NSString *isCBus;//是否是C的接入:0不是 1：是
@property(nonatomic,assign) TKIMHttpType type;
@property(nonatomic,copy) NSString *signKey;
@property(nonatomic,assign) NSInteger daoType;
@end
